package com.qf.test;

import com.qf.service.AccountService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Description: 公用常量
 * @Data: 2022/8/31 18:58
 * @Pacakge: com.qf.test
 * @ClassName: Demo
 * @Author: fan
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:bean.xml")
public class Demo {
    @Autowired
    @Qualifier("proxy")
    private AccountService accountService;
    @Test
    public void testAccount(){
       accountService.transfer("Yin On Kay","Fujii Rin",269.69);
    }
}
